package com.zp.bean.paper;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zp.domain.AnswerItem;
import com.zp.domain.Type;

/**
 * define java bean for question
 * 
 * @author chenlijun08@gmail.com
 * 
 * @version 1.0
 * 
 * @date 2014/2/23
 * 
 */
@XmlRootElement
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class QuestionVo implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private String title;
	private Type questionType;
	private Type businessType;
	private AnswerItem item;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Type getQuestionType() {
		return questionType;
	}

	public void setQuestionType(Type questionType) {
		this.questionType = questionType;
	}

	public Type getBusinessType() {
		return businessType;
	}

	public void setBusinessType(Type businessType) {
		this.businessType = businessType;
	}

	public AnswerItem getItem() {
		return item;
	}

	public void setItem(AnswerItem item) {
		this.item = item;
	}

}
